<%@ page language="java"  pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/views/common/taglib.jsp" %>
<html>
<head>
    <title>赠品列表</title>
    <%@ include file="/WEB-INF/views/common/resource.jsp" %>
    <link href="${rtx}/js/plugins/fancybox/jquery.fancybox.css" rel="stylesheet">
</head>
<body>
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="form-group">

            <label class="col-sm-1 control-label">赠品物料编号</label>
            <div class="col-sm-2">
                <div class="row">
                    <input type="text" id="giveaway_no" placeholder="赠品物料编号" class="form-control">
                </div>
            </div>


            <label class="col-sm-1">品牌分类</label>
            <div class="col-sm-2">
                <select class="form-control m-b" id="giveaway_brand" >
                    <option value="">全部</option>
                    <c:forEach items="${brandList}" var="list">
                        <option value="${list.d_no}">${list.name}</option>
                    </c:forEach>
                </select>
            </div>

            <label class="col-sm-1">赠品类别</label>
            <div class="col-sm-2">
                <select class="form-control m-b" id="giveaway_type" >
                    <option value="">全部</option>
                    <c:forEach items="${goodsTypeList}" var="list">
                        <option value="${list.d_no}">${list.name}</option>
                    </c:forEach>
                </select>
            </div>
            <div class="form-group">
                <div class="col-sm-2 ">
                    <button onclick="search()" style="width: 100px;" class="btn btn-primary" type="button">搜索</button>
                </div>
            </div>
        </div>
    </div>

    <div class="ibox-content">
        <div class="row ">
            <div class="col-sm-12">
                <table id="table" ></table>
            </div>
        </div>
    </div>
</div>
</body>
<script language="javascript" type="text/javascript" src="${rtx}/js/goods/giveaway_manager.js"></script>
<script src="${rtx}/js/plugins/fancybox/jquery.fancybox.js"></script>
<script>
    $(document).ready(function(){$(".fancybox").fancybox({openEffect:"none",closeEffect:"none"})});
</script>
</html>
